module.exports = {
  devServer: {
    proxy: {
      '/socket.io':{
        target: 'http://127.0.0.1:8081/', // target host
        changeOrigin: true, // needed for virtual hosted sites
        logLevel: 'debug'
      },
      '/sockjs-node': {
        target: 'http://127.0.0.1:8081',
        ws: false,
        changeOrigin: true
      }
    },
  },
};
